<!--
 * @Descripttion:
 * @version:
 * @Author: Shuai XUE
 * @Date: 2019-12-03 12:50:24
 * @LastEditors: Shuai XUE
 * @LastEditTime: 2021-02-07 16:32:34
 -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="yes" name="apple-touch-fullscreen" />
    <meta content="telephone=no" name="format-detection" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta name="msapplication-TileColor" content="#ffffff" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"/>

    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <!-- windows phone 点击无高光 -->
    <meta name="msapplication-tap-highlight" content="no" />
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait" />
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait" />
    <!-- UC强制全屏 -->
    <meta name="full-screen" content="yes" />
    <!-- QQ强制全屏 -->
    <meta name="x5-fullscreen" content="true" />
    <!-- UC应用模式 -->
    <meta name="browsermode" content="application" />
    <!-- QQ应用模式 -->
    <meta name="x5-page-mode" content="app" />
    <link rel="apple-touch-icon" href="logo192.png" />
    <!--
      manifest.json provides metadata used when your web app is installed on a
      user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
    -->
    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
    <!--
      Notice the use of %PUBLIC_URL% in the tags above.
      It will be replaced with the URL of the `public` folder during the build.
      Only files inside the `public` folder can be referenced from the HTML.

      Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
      work correctly both with client-side routing and a non-root public URL.
      Learn how to configure a non-root public URL by running `npm run build`.
    -->
    <title></title>
    <script>
      if(!window.Promise) {
        document.writeln('<script src="https://as.alipayobjects.com/g/component/es6-promise/3.2.2/es6-promise.min.js"'+'>'+'<'+'/'+'script>');
      }
    </script>
    <!-- 上线或者ios8删除 -->
    <!-- <script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.9.0/vconsole.min.js"></script>
    <script>window.vConsole = new window.VConsole() 
    </script> -->

    <!-- sgm监控系统探针 -->
    <script crossorigin src="https://sgm-static.jd.com/sgm-2.6.6.js" name="SGMH5" sid="f4415b31a57e4e9a956d22fa8dbd21c2" appKey="card-resale-jwxd" ></script>
  </head>
  <body>
    <noscript>You need to enable JavaScript to run this app.</noscript>
    <div id="root"></div>
    <script type="text/javascript">
      // let siteId = window.location.href.indexOf('card') === -1 ? 'JA2019_4122265' : 'JA2019_4122262'; //站点编号，必传字段，没有请从子午线申请
      let siteId = ''
      // if (window.location.href.indexOf('card') > -1) { // 号卡
      //   siteId = 'JA2019_4122262'
      // } else if (window.location.href.indexOf('contract') > -1) { // 合约机
      //   siteId = 'JA2019_2132324'
      // } else {
      //   siteId = 'JA2019_4122265'
      // }
      // var jap = {
      //   siteId,
      //   autoLogPv: false  //是否自动上报pv
      // };
    </script>
    <script src="%PUBLIC_URL%/jssdk.min.js"></script>
    <script type="text/javascript" src="//wl.jd.com/unify.min.js"></script>
    <script src="//wq.360buyimg.com/js/common/dest/wq.imk.downloadAppPlugin.min.js" type="text/javascript"></script>
    <script>
    function appendScript(src) {
      let oScript= document.createElement("script");
      oScript.type= "text/javascript";
      oScript.src= src;
      return oScript
    }
    function browserRedirect() {
      var sUserAgent= navigator.userAgent.toLowerCase();
      var bIsIpad= sUserAgent.match(/ipad/i) == "ipad";
      var bIsIphoneOs= sUserAgent.match(/iphone os/i) == "iphone os";
      var bIsMidp= sUserAgent.match(/midp/i) == "midp";
      var bIsUc7= sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
      var bIsUc= sUserAgent.match(/ucweb/i) == "ucweb";
      var bIsAndroid= sUserAgent.match(/android/i) == "android";
      var bIsCE= sUserAgent.match(/windows ce/i) == "windows ce";
      var bIsWM= sUserAgent.match(/windows mobile/i) == "windows mobile";
      if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) {
        var oHead = document.getElementsByTagName('HEAD').item(0);
        // "//g.alicdn.com/fdilab/lib3rd/viewport-units-buggyfill/0.6.2/??viewport-units-buggyfill.hacks.min.js,viewport-units-buggyfill.min.js"
        var oScript= appendScript("%PUBLIC_URL%/viewport-units-buggyfill.hacks.min.js");
        var oScript2= appendScript("%PUBLIC_URL%/viewport-units-buggyfill.min.js");
        oHead.appendChild(oScript);
        oHead.appendChild(oScript2);

        setTimeout(() => {
          window.onload = function () {
            window.viewportUnitsBuggyfill.init({
              hacks: window.viewportUnitsBuggyfillHacks
            });
          }
        }, 0)
      }
    }
    browserRedirect();
  </script>
  <!-- 滑块验证模块接入 https://cf.jd.com/pages/viewpage.action?pageId=71984233 -->
  <script src="//ivs.jd.com/slide/js/jdSlide.1.0.min.js"></script>
  <script src="//gia.jd.com/m.html"></script>
  <script src="//gias.jd.com/js/m.js"></script>
  </body>
</html>
